#ifndef NETCONTROL_H
#define NETCONTROL_H

#include <QtNetwork>
#include <QDialog>
#include "car.h"

class NetControl: public QObject
{
    Q_OBJECT

private:

public:
     QList<Car> autoDataList;
     Car danachAuto;
     Car dovorAuto;

    //Konstruktor
    NetControl();
    ~NetControl();

public slots:
    void aktualisiereCarsList(QList<QByteArray> autoListe);

};

#endif // NETCONTROL_H
